<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/17/017
 * Time: 16:34
 */

namespace app\portal\validate;


use think\Validate;

class VideoValidate extends Validate
{
    protected $rule = [
        'post_title' => 'require',
        'post_video' => 'require',
    ];
    protected $message = [
        'categories.require' => '请指定文章分类！',
        'post_video.require' => '请添加视频！',
    ];
}